algebra division for polynomial